package top.twoteam.equipment.entity;

public class DataDictionary {
    private Integer dictionaryid;

    private String dictionaryidname;

    private Integer level;

    private Integer parentid;

    public DataDictionary(Integer dictionaryid, String dictionaryidname, Integer level, Integer parentid) {
        this.dictionaryid = dictionaryid;
        this.dictionaryidname = dictionaryidname;
        this.level = level;
        this.parentid = parentid;
    }

    public DataDictionary() {
        super();
    }

    public Integer getDictionaryid() {
        return dictionaryid;
    }

    public void setDictionaryid(Integer dictionaryid) {
        this.dictionaryid = dictionaryid;
    }

    public String getDictionaryidname() {
        return dictionaryidname;
    }

    public void setDictionaryidname(String dictionaryidname) {
        this.dictionaryidname = dictionaryidname;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", dictionaryid=").append(dictionaryid);
        sb.append(", dictionaryidname=").append(dictionaryidname);
        sb.append(", level=").append(level);
        sb.append(", parentid=").append(parentid);
        sb.append("]");
        return sb.toString();
    }
}